﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TExaminationResult.aspx.cs" Inherits="com.orange.examination.WebForm6" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" href="css/TExaminationResult.css" />
    <title>考生成绩</title>

</head>
<body>
    <form id="form1" runat="server">
            
    <fieldset class="FieldSet">

        <legend class="mailTitle">考试结果</legend>

        <span>请输入学生信息：</span>

        <asp:DropDownList ID="ddltype" runat="server">
            <asp:ListItem Selected="True">学号</asp:ListItem>
            <asp:ListItem>姓名</asp:ListItem>
        </asp:DropDownList>

        <asp:TextBox ID="txtkey" runat="server"></asp:TextBox>

        <asp:Button ID="btnserch" runat="server" OnClick="btnserch_Click" Text="查询" />
        
        <asp:GridView ID="gvExaminationresult" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" Font-Size="XX-Small" ForeColor="#333333" GridLines="None" OnPageIndexChanging="gvExaminationresult_PageIndexChanging" OnRowDeleting="gvExaminationInfo_RowDeleting" OnSelectedIndexChanged="gvExaminationresult_SelectedIndexChanged" PageSize="8" Width="556px">
       
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="StudentID" HeaderText="学号">
            <ItemStyle HorizontalAlign="Center" Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="StudentName" HeaderText="姓名">
            <ItemStyle HorizontalAlign="Center" Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="LessonName" HeaderText="考试科目">
            <ItemStyle HorizontalAlign="Center" Width="120px" />
            </asp:BoundField>
            <asp:BoundField DataField="score" HeaderText="分数">
            <ItemStyle HorizontalAlign="Center" Width="30px" />
            </asp:BoundField>
            <asp:TemplateField HeaderText="删除" ShowHeader="False">
                <ItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete" Text="删除" OnClientClick="return confirm('确认要删除吗？');"></asp:LinkButton>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="30px" />
            </asp:TemplateField>
        </Columns>
            <RowStyle ForeColor="Black" Height="15px" HorizontalAlign="Center" VerticalAlign="Middle" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#3399FF" ForeColor="#000066" HorizontalAlign="Center" />
            <HeaderStyle BackColor="Transparent" Font-Bold="False" ForeColor="Black" Height="15px" />
            <FooterStyle BackColor="White" ForeColor="#000066" />
    </asp:GridView>
    <br />
</fieldset>
        
<br />
</div>
    </form>
</body>
</html>